/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rom.item;

import java.io.Serializable;

/**
 *
 * @author Luis
 */
public class ItemLocation implements Serializable{
    
    public static int LOWER_HEADGEAR = 1;
    public static int RIGHT_HAND = 2;
    public static int MANTLE = 4;
    public static int ACCESSORY_1 = 8;
    public static int ARMOR = 16;
    public static int LEFT_HAND = 32;
    public static int SHOES = 64;
    public static int ACCESSORY_2 = 128;
    public static int UPPER_HEADGEAR = 256;
    public static int MIDDLE_HEADGEAR = 512;
    public static int ARROW = 32768;
    
    private int location;
    
    public ItemLocation(int location){
        this.location = location;
    }

    /**
     * @return the location
     */
    public int getLocation() {
        return location;
    }

    /**
     * @param location the location to set
     */
    public void setLocation(int location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return String.valueOf(getLocation());
    }
    
}
